package com.biz.impl;

import com.dao.HomeContentDao;
import com.entity.model.HomeContent;
import com.biz.HomeContentBiz;
import com.core.AbstractBiz;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by jc on 2020/04/16.
 */
@Service
@Transactional
public class HomeContentBizImpl extends AbstractBiz<HomeContent> implements HomeContentBiz {
    @Resource
    private HomeContentDao homeContentDao;

    public List<HomeContent> homeContent(){
        return  homeContentDao.homeContent();
    }
}
